package com.jiazhong.cloud.sentinel.consumer.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(
        name = "cloud-sentinel-provider",
        path = "/sentinel_provider",
        fallback = SentinelProviderPlanB.class)
public interface SentinelProviderFeign {

    @GetMapping("/a")
    String a();

    @GetMapping("/b")
    String b();
}
